|
|
|
|
|
|
|
At this point, you may be wondering how this style can be used to work with document data. A good example of this usage is shown in the Visual Basic Books Online interface (see Figure 3.15). |
|
|
|
|
|
|
|
|
Figure 3.15.
The Visual Basic Online Books interface uses the Explorer style to display the
available books and topics on one side, the topic content on the other. |
|
|
|
|
|
|
|
|
You can see that the two panes used in this application are the TreeView and an HTML-style document browser. For your example, you'll build the same type of interface by using a TextBox control and setting the ListView control's Visible property to False so that it can't be seen. The TreeView control can display a selection of documents and their related topics; when users double-click a topic, it would be displayed in the text box on the right side of the form. |
|
|
|
|
|
|
|
|
To see how this interface works, start a new project, but select the Application Wizard from the New Project dialog box (see Figure 3.16). |
|
|
|
|
|